package com.iflytek.springboot_medicine.service;

import com.iflytek.springboot_medicine.entity.Medicine;
import com.iflytek.springboot_medicine.pojo.OrderPojo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface OrderPojoRepository extends JpaRepository<OrderPojo, Integer> {
    Page<OrderPojo> findAll(Pageable pageable);
    OrderPojo deleteById(int id);
}
